package com.example.ticket.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.util.Date;

public class Ban implements Serializable {
    private static final long serialVersionUID = -3261724545961164539L;

    //id
    Integer id;

    //关联用户名
    String username;

    //被冻结ID
    Integer userId;

    //冻结时间
    @JsonFormat(pattern = "yyyy年MM月dd日HH时mm分ss秒")
    Date banTime;

    //备注(冻结原因)
    String remark;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Date getBanTime() {
        return banTime;
    }

    public void setBanTime(Date banTime) {
        this.banTime = banTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}
